﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TestCenterUI
{
	public partial class Form1 : Form
	{ 

		public Form1()
		{
			InitializeComponent();
		}

		private void Button1_Click(object sender, EventArgs e)
		{
			ComboBoxForm cbf = new ComboBoxForm();
			cbf.Show(comboBox1, this); 
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			for (int i = 0; i < 1000; i++)
				comboBox1.Items.Add(i + "." + (i * i));
		}
	}
}
